home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 12 - 1996 / 12.12 Dec 96 / Async I⁄O Code / Sources / LMProtos.h < prev    next >
Encoding:
Text File  |  1995-11-04  |  1.7 KB  |  35 lines  |  [TEXT/CWIE]

  1. // File: LMProtos.h
  2.  
  3. void Error(char* message, char *buffer, short index, char* fileName);
  4. void Warning(char* message, char *buffer, short index, char* fileName);
  5. int GetOrMakeDirectory(char *path);
  6. FILE* GetOrMakeFile(char* fileName, char *path);
  7. FILE* CopyFile(char* sourceFileName, char *sourcePath, char* copyPath);
  8.  
  9. static char *MakeLower(char* buffer);
  10.  
  11. int ProcessOneFile(char *filename);
  12. void ProcessLine(char *buffer, int *inComment, char* filename);
  13. Command FindCommand(char *possibleCommand);
  14. short FindLab(char* labName);
  15. char *GetKeyword(char* keyword, char* buffer, short *index, char* result);
  16. char *GetNextSubstring(char* buffer, short *index, char *result, short allowQuotes, short labList);
  17. char *GetLabName(char* buffer, short *index, char *result);
  18. char *GetDirectoryName(char* buffer, short *index, char *result);
  19. char *FindCommentStart(char *buffer, short *index, short *startOffset, short *commentKind);
  20. char *FindCommentEnd(char *buffer, short *index, short *endOffset, short commentKind);
  21. char *SkipWhitespace(char *buffer, short *index);
  22. void DistributeLine(char *buffer);
  23.  
  24. void DoComment(char *buffer, short index, char* filename);
  25. void DoCreate(char *buffer, short index, char* filename);
  26. void DoInclude(char *buffer, short index, char* filename);
  27. void DoCopy(char *buffer, short index, char* filename);
  28. void DoSkip(char *buffer, short index, char* filename);
  29. void DoInsert(char *buffer, short index, char* filename);
  30. void DoPush(char *buffer, short index, char* filename);
  31. void DoPop(char *buffer, short index, char* filename);
  32. void DoSuffix(char *buffer, short index, char* filename);
  33. void DoDelimiter(char *buffer, short index, char* filename);
  34. void DoReset(char *buffer, short index, char* filename);
  35.